package com.example.auth.dto;

import lombok.Data;
import java.util.List;

/**
 * Supervisor Dashboard DTO
 * Used for the supervisor console to display statistical data and student project progress
 */
@Data
public class SupervisorDashboardDTO {
    // Statistical information
    private Integer studentCount;      // Total number of students
    private Integer activeToday;       // Number of students active today
    private Integer pendingTasks;      // Number of pending tasks
    private Integer weeklyEvents;      // Number of events this week

    // List of student project progress
    private List<StudentProjectProgressDTO> studentProjectProgresses;

    // List of recent activities
    @Data
    public static class ActivityItem {
        private String title;          // Activity title
        private String description;    // Activity description
        private String time;           // Activity time
        private String type;           // Activity type: submission, leave, registration, system notification, etc.
    }

    private List<ActivityItem> recentActivities;
}